package com.lz.behavior.state;

import lombok.Getter;
import lombok.Setter;

/**
 * ds..
 *
 * @author Lizhong
 * @date 2019/9/26
 */
@Getter
@Setter
public class Work02 {
    /**
     * 时间点
     */
    private int hour;
    /**
     * 工作是否完成
     */
    private boolean finish = false;

    private  State state;

    public void writeProgram() {
        state.writeProgram(this);
    }
}